package com.jbp.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 钥匙变动记录(LuckKeyRecord)实体
 * @author cc
 * @since 2021-04-29 17:54:46
 */
@ApiModel(value="LuckKeyRecord")
@Data
public class LuckKeyRecord implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //用户id
    @ApiModelProperty(value="用户id")    
    
    private Integer userId;

    //增减  add增  sub减
    @ApiModelProperty(value="增减  add增  sub减")    
    
    private String addType;

    //操作类型
    @ApiModelProperty(value="操作类型 buy lucky")
    
    private String operationType;

    //变动前余额
    @ApiModelProperty(value="变动前余额")    
    
    private Integer beforeBalance;

    //变动金额
    @ApiModelProperty(value="变动金额")    
    
    private Integer changeBalance;

    //变动后余额
    @ApiModelProperty(value="变动后余额")    
    
    private Integer afterBalance;

    //创建时间
    @ApiModelProperty(value="创建时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

    //修改时间
    @ApiModelProperty(value="修改时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date updateTime;

}